package com.example.lib_login

import android.graphics.Color
import android.os.Build
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.WindowManager
import androidx.activity.viewModels
import androidx.appcompat.app.AlertDialog
import androidx.databinding.DataBindingUtil
import com.example.lib_login.databinding.ActivityLoginBinding
import com.example.lib_login.view.WjbDialogView

class LoginActivity : AppCompatActivity() {
    lateinit var binding:ActivityLoginBinding
    private val viewModel:LoginViewModel by viewModels()

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        //设置状态栏的颜色
        window.statusBarColor = resources.getColor(R.color.login_background_color,null)

        binding = ActivityLoginBinding.inflate(layoutInflater)
        setContentView(binding.root)


    }

}